package asf.forms
{
	import asf.interfaces.IFormField;
	
	public class FormFieldError
	{
		private var _field:FormField;
		private var _message:String;
		private var _type:String;
		
		public function FormFieldError( p_field:FormField, p_message:String, p_type:String )
		{
			_field = p_field;
			_message = p_message;
			_type = p_type;
		}
		
		public function get type( ):String
		{
			return _type;
		}

		public function get field( ):FormField
		{
			return _field;
		}
		
		public function get message( ):String
		{
			return _message;
		} 
	}
}